package com.taobao.api.response;

import java.util.List;

import com.taobao.api.TaobaoResponse;
import com.taobao.api.domain.Coupon;
import com.taobao.api.internal.mapping.ApiField;
import com.taobao.api.internal.mapping.ApiListField;

/**
 * TOP API: taobao.promotion.coupons.get response.
 * 
 * @author auto create
 * @since 1.0, null
 */
public class PromotionCouponsGetResponse extends TaobaoResponse {

  private static final long serialVersionUID = 4435588854587274753L;

  /**
   * 优惠券列表
   */
  @ApiListField("coupons")
  @ApiField("coupon")
  private List<Coupon>      coupons;

  /**
   * 查询的总数量
   */
  @ApiField("total_results")
  private Long              totalResults;

  public void setCoupons(List<Coupon> coupons) {
    this.coupons = coupons;
  }

  public List<Coupon> getCoupons() {
    return this.coupons;
  }

  public void setTotalResults(Long totalResults) {
    this.totalResults = totalResults;
  }

  public Long getTotalResults() {
    return this.totalResults;
  }

}
